package com.arpa.wms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 入库单DTO
 * </p>
 *
 * @author LEO
 * @since 2020-08-04
 */
@Data
@ApiModel(value="InboundDTO对象", description="入库单")
public class InboundDTO extends BasicEntity {


    @ApiModelProperty(value = "入库单号")
    private String code;

    @ApiModelProperty(value = "仓库")
    private String warehouseCode;

    @ApiModelProperty(value = "入驻商")
    private String shipmentCode;

    @ApiModelProperty(value = "登录仓库授权该账号的货主集合")
    private List<String> shipmentCodes;

    @ApiModelProperty(value = "授权该账号的仓库集合")
    private List<String> warehouseCodes;

    @ApiModelProperty(value = "入驻商")
    private String shipmentName;

    @ApiModelProperty(value = "来源单号")
    private String sourceCode;

    @ApiModelProperty(value = "所属机构Code")
    private String groupCode;

    @ApiModelProperty(value = "单据类型")
    private String type;

    @ApiModelProperty(value = "订单日期")
    private LocalDateTime gmtOrder;

    @ApiModelProperty(value = "计划数量")
    private BigDecimal planQuantity;

    @ApiModelProperty(value = "入库数量")
    private BigDecimal inboundQuantity;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "备注")
    private String remarks;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "入库单号集合")
    private List<String> inboundCodes;

    @ApiModelProperty(value = "供应商集合")
    private List<String> supplierCodes;

    @ApiModelProperty(value = "SKU数下限")
    private BigDecimal inboundQuantityFloor;

    @ApiModelProperty(value = "SKU数上限")
    private BigDecimal inboundQuantityCeiling;

    @ApiModelProperty(value = "收货单来源单号")
    private String receiveSourceCode;

    @ApiModelProperty(value = "面单号")
    private String waybillCode;
}
